package com.mairuide.datalog;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 日志记录字段注解类
 * @author mh
 *
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface LogFieldName {
	/**
	 * 字段名，默认为空字符
	 * @return
	 */
	String fieldName() default "";
	
	boolean hideValue() default false;
}
